
<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>提高算力</title>
    <meta content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"/>
    <meta content="yes" name="apple-mobile-web-app-capable"/>
    <meta content="black" name="apple-mobile-web-app-status-bar-style"/>
    <meta content="telephone=no" name="format-detection"/>
    <link href="/mining/css/suanlistyle.css?id=1" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="/mining/js/jquery.min.js"></script>
</head>
<style type="text/css">
    .mark {
        display: none;
        position: fixed;
        top: -50px;
        right: 0;
        bottom: 0;
        left: 0;
        margin: auto;
        height: 30px;
        line-height: 30px;
        width: 70%;
        text-align: center;
        font-size: 16px;
        color: #fff;
        background: rgba(0, 0, 0, 0.6);
        border-radius: 1rem;
        z-index:10000;

    }
</style>
<body>

<section class="aui-flexView">
    <header class="aui-navBar aui-navBar-fixed">
        <a href="/home/mining/" class="aui-navBar-item">
            <i class="icon icon-return"></i>
        </a>
        <div class="aui-center">
            <span class="aui-center-title">我的算力</span>
        </div>

    </header>
    <section class="aui-scrollView">
        <div class="aui-palace">
            <a href="javascript:;" class="aui-palace-grid aui-palace-text">
                13831172165                    </a>

            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <h2>我的算力值</h2>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>60.00</h2>
                </div>
            </a>
            <a href="javascript:;" class="aui-palace-grid">
                <div class="aui-palace-grid-icon">
                    <h2>我的金币</h2>
                </div>
                <div class="aui-palace-grid-text">
                    <h2>10.39</h2>
                </div>
            </a>
        </div>
        <div class="aui-flex" style="padding-top:5px;">
            <div class="aui-flex-box">
                <h1>每日任务</h1>
            </div>
        </div>
        <div class="aui-task-box">
            <div class="aui-task-list">
                <div class="aui-palace aui-palace-two">
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">
                            <img src="/mining/images/icon-head-001.png" alt="">
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">
                            <img src="/mining/images/icon-head-002.png" alt="">
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">
                            <img src="/mining/images/icon-head-003.png" alt="">
                        </div>
                    </a>
                </div>
                <div class="aui-palace aui-palace-two aui-palace-three">
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">
                            <h4>3</h4>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">
                            <h4>6</h4>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-palace-grid">
                        <div class="aui-palace-grid-icon">
                            <h4>9</h4>
                        </div>
                    </a>
                </div>
                <div class="aui-task-item">
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>1、实名认证增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>20算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick=location='/home/account/realname'>领取任务</button>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>2、会员签到增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>20算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick=location='/home/signin.html'>领取任务</button>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>3、每日签到增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>20算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick=location='/home/signin.html'>领取任务</button>

                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>4、每日任务增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>30算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick=location='/home/task/task_all.html'>领取任务</button>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>5、每日打卡增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>31算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">

                            <button onclick=location='/home/clockin/index'>领取任务</button>


                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>6、每日分享增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>10算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick="aClick(6)">领取任务</button>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>7、每日点赞增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>50算力值</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick=location='/home/posts'>领取任务</button>
                        </div>
                    </a>
                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>8、邀请好友增加算力</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>10算力</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button onclick=location='/home/invite.html'>领取任务</button>
                        </div>
                    </a>


                    <a href="javascript:;" class="aui-flex">
                        <div class="aui-flex-box">
                            <h3>9、金额兑换算力值</h3>
                            <h4>
                                <span><i class="icon icon-coin"></i>500金币</span>
                            </h4>
                        </div>
                        <div class="aui-button">
                            <button style="background:#4a90fc" id="btn_tigao">直接购买</button>
                        </div>
                    </a>
                </div>
            </div>
        </div>
        <div class="aui-flex aui-flex-img">
            <div class="aui-flex-box">
                <img src="/mining/images/ad-001.png" alt="">
            </div>
            <div class="aui-flex-box">
                <img src="/mining/images/ad-002.png" alt="">
            </div>
        </div>

    </section>
</section>


<!-- 弹出 -->
<div class="shadow"></div>
<div class="tanchu_box">
    <div class="top_bg">
        <img src="/mining/images/icon_close.png" alt="" id="close_btn">
    </div>
    <div class="middle_pic">
        <img src="/mining/images/middle_pic.png" alt="">
    </div>
    <form action="">
        <input type="text" placeholder="当前价格：1111算力/1元余钱" disabled >
        <input class="gm_num" name="slcount" id="slcount" type="text" placeholder="请输入购买数量(100起售)">
        <div class="tips">
            <p>友情提示：</p>
            <p>每完成一个任务可获得5~100算力。</p>
        </div>
        <div class="invite_btn">
            <a href="javascript:void(0)" onclick="abClick(3499)">直接购买</a>
            <a href="/home/invite.html" class="btn2">邀请好友</a>
        </div>
    </form>
</div>
<script src="/mining/js/jquery.min.js"></script>

<script type="text/javascript" src="/mining/js/public.js"></script>
<script type="text/javascript">

    $(function(){
        //弹出
        $("#btn_tigao").click(function(){
            var is_suanli=0;
            if(is_suanli==0){
                myalert("暂未开放");
                return false;
            }
            $(".shadow").show();
            $(".tanchu_box").show();
        });
        $("#close_btn").click(function(){
            $(".shadow").hide();
            $(".tanchu_box").hide();
        });
    });


    function aClick(obj){
        if(obj==6){
            myalert("暂未开放");
            return false;
        }
        //alert(obj);
        $.ajax({
            type:"post",
            url:"/home/mining/calculationto",
            data:{id:obj},
            success:function(ret){
                myalert(ret.message,ret.redirect);
            },
            error:function(ret){
                myalert(ret);
            }
        })
    }


    function abClick(obj){
        var slcount=document.getElementById("slcount").value;
        if(slcount=='' || slcount<=100){
            myalert("请输入合法的数字");
            return false;
        }

        $.ajax({
            type:"post",
            url:"/home/mining/addarithmetic",
            data:{slcount:slcount},
            success:function(ret){
                myalert(ret.message,ret.redirect);
            },
            error:function(ret){
                myalert(ret);
            }
        })
    }
</script>

</body>
</html>
